<%--
  Created by IntelliJ IDEA.
  User: 康鑫源
  Date: 2025/6/10
  Time: 10:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width,initial-scale=1.0" />
  <title>用户登录</title>
  <link rel="stylesheet" href="/css/index_log.css" />
  <link rel="stylesheet" href="/layui/css/layui.css" />
  <link rel="stylesheet" href="/layui/layui.js" />
</head>

<body>
<div class="login">
  <h2>用户登录</h2>
  <form action="/users/login" method="post">
    <div class="login_box">
      <input type="text" name='username' id='name' required value="zhangsan"/>
      <label for="name">用户名</label>
    </div>
    <div class="login_box">

      <input type="password" name='password' id='pwd' value="123456" required="required">
      <label for="pwd">密码</label>
    </div>
    <font color="red">${msg}</font>
    <input type="submit" value="登录" class="layui-btn layui-btn-primary layui-border-blue">



  </form>
</div>

</body>

</html>